package com.hawk.eye.server.constant;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @className: ReqTypeConstant
 * @description: TODO 类描述
 * @author: salad
 * @date: 2024/6/2
 **/
@Getter
@AllArgsConstructor
public enum ReqTypeConstant {

    GET(1,"GET"),
    POST(2,"POST");

    private Integer value;

    private String name;

    public boolean equal(Integer value){
        return this.value.equals(value);
    }

}
